package web.service;

import web.bean.Fangchan;
import web.bean.XiaoQu;
import web.vo.PageVo;

import java.util.List;

public interface FangChanService {
    PageVo<Fangchan> findByInfo(Integer pageSize, Integer pageNo, String startTime, String endTime, String name);
    int add(Fangchan fangchan);
    /**
     * 根据数组删除数据
     * @param deleteId
     * @return
     */
    int del(Integer[] deleteId);

    int editInfo(Fangchan fangchan);

    Fangchan findFanChanById(Integer id);

    List<Fangchan> findNameAll();
}
